Set Odometer Data
Function:
go.set_odometer_data(x,y,yaw)Description: set odometer data of Magician Go, namely coordinate and heading angle.
Required parameter:
- x: x-axis coordinate; data type: float; unit: cm
- y: y-axis coordinate; data type: float; unit: cm
- yaw: heading angle of Magician Go; data type: float; unit: °
- Return:
- True: The command has been finished.
- False: The command has not been finished.
Example
go.set_odometer_data(x=0,y=0,yaw=0)Set the current position as origin of coordinates, namely resetting.